//
//  PendChildCollectionViewCell.m
//  ZJControlsClass
//
//  Created by apple on 2024/10/25.
//

#import "PendChildCollectionViewCell.h"

@implementation PendChildCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        
        [self configUI];
        
        
        
        
    }
    return self;
}


-(void)configUI{
    
    
    [self.contentView addSubview:self.label];
    [self.contentView addSubview:self.follewView];
        
    [self.label mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerX.equalTo(self.contentView.mas_centerX);
        make.centerY.equalTo(self.contentView.mas_centerY);
    }];
    
    [self.follewView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerX.equalTo(self.contentView.mas_centerX);
        make.bottom.equalTo(self.contentView.mas_bottom);
        make.width.equalTo(@(ALIGN_WIDTH_PT(30)));
        make.height.equalTo(@(ALIGN_WIDTH_PT(2)));
    }];
    
}




#pragma mark -- 懒加载
-(UIView *)follewView{
    if (!_follewView) {
        _follewView = [UIView new];
        _follewView.backgroundColor = COLOR_RGB(50, 113, 237);
    }
    return _follewView;
}

-(UILabel *)label{
    if (!_label) {
        _label = [UILabel new];
        _label.textAlignment = NSTextAlignmentCenter;
        _label.userInteractionEnabled = YES;
        _label.font = FONT14;
        _label.textColor = COLOR_RGB(50, 113, 237);
    }
    return _label;
}




@end
